package cn.tedu.charging.device.dao.impl;

import cn.tedu.charging.device.dao.mapper.StationPOMapper;
import cn.tedu.charging.device.dao.repository.StationPORepository;
import cn.tedu.charging.device.pojo.po.StationPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class StationPOMapperImpl implements StationPORepository {
    @Autowired
    private StationPOMapper stationPOMapper;

    @Override
    public List<StationPO> getAllStation() {
        List<StationPO> list = stationPOMapper.selectList(null);
        return list;
    }

}
